/* $Id:action_skill.h $ */
/*
   Copyright (C) 2007 by Jurjen Stellingwerff <jurjen@stwerff.xs4all.nl>
   Part of the Moros Project http://moros.sourceforge.net/

   This program is free software; you can redistribute it and/or modify
   it under the terms of the GNU General Public License version 3.
   This program is distributed in the hope that it will be useful,
   but WITHOUT ANY WARRANTY.

   See the COPYING file for more details.
*/

#ifndef __ACTION_SKILL_H
#define __ACTION_SKILL_H

#include <string>
#include <map>
#include <list>
using namespace std;



class action_skill {
    class skill *first_skill;
    class special *first_special;
    class skill *second_skill;
    class special *second_special;
    int level;
public:
    action_skill();

    // Field : first_skill
    class skill& getFirst_skill() const;
    void setFirst_skill(class skill &v);

    // Field : first_special
    class special& getFirst_special() const;
    void setFirst_special(class special &v);

    // Field : second_skill
    class skill& getSecond_skill() const;
    void setSecond_skill(class skill &v);

    // Field : second_special
    class special& getSecond_special() const;
    void setSecond_special(class special &v);

    // Field : level
    const int getLevel() const;
    void setLevel(const int v);

    void save(class channel &ch);
    void load(class channel &ch);
    void xml(ofstream &f, int l=0, int r=0);
};

#endif // __ACTION_SKILL_H
